1 <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="kiemtragiohang.aspx.cs" Inherits="kiemtragiohang" Title="Kiem tra gio hang " %>
2
3
4 <asp:Content ID=
"Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
5     <div style=
"color: black; font-weight: bold; font-size: 15pt"><h1 align="center"><b> Thông tin về giỏ hàng của bạn:</b></h1>
6     </div>
7     <div>
8         <table cellpadding=
"0" cellspacing="0" style="color: black">
9             <tr>
10                 <td>
11                     &nbsp;&nbsp; Khách hàng:&nbsp;</td>
12                 <td>
13                     <asp:Label ID=
"lbTenKhachHang" runat="server" Text="Label" Font-Bold="True"
14                         ForeColor=
"black"></asp:Label>
15                 </td>
16             </tr>
17             <tr>
18                 <td>
19                     &nbsp;&nbsp; Địa chỉ:&nbsp;</td>
20                 <td>
21                     <asp:Label ID=
"lbdiachiKH" runat="server" Text="Label" Font-Bold="True"
22                         ForeColor=
"black"></asp:Label>
23                 </td>
24             </tr>
25             <tr>
26                 <td>
27                     &nbsp;&nbsp; Ngày đặt hàng:&nbsp;<br />
28                                         </td>
29                 <td>
30                     <asp:Label ID=
"lbNgayDat" runat="server" Text="Label" Font-Bold="True"
31                         ForeColor=
"black"></asp:Label>
32                     <br />
33                 </td>
34             </tr>
35         </table>
36     </div>
37     <div style=
"color: black; font-size: 15pt; font-weight: bold; height: 67px;">&nbsp;&nbsp; <br />
38                 Các sản phẩm bạn đã chọn:<br />
39                             </div>
40     <div align=
"center">
41         <asp:Panel ID=
"Panel1" runat="server" BorderStyle="Outset">
42             <asp:GridView ID=
"GridView1" runat="server" AutoGenerateColumns="False" Width="100%"
43                 BorderColor=
"blue" BorderStyle="Solid" BorderWidth="1px" Height="222px">
44                 <RowStyle BackColor=
"white" ForeColor="black" />
45                 <Columns>
46                     <asp:TemplateField HeaderText=
"Sản phẩm" HeaderStyle-ForeColor="Black">
47                         <ItemTemplate>
48                             <asp:Label ID=
"Label19" runat="server" Text='<%# Eval("TenSP") %>'
49                                 Width=
"99%" style="margin-bottom: 0px"></asp:Label>
50                         </ItemTemplate>
51                     </asp:TemplateField>
52                     <asp:TemplateField HeaderText=
"Số lượng" HeaderStyle-ForeColor="Black">
53                         <ItemTemplate>
54                             <asp:Label ID=
"Label20" runat="server" Text='<%# Eval("SoLuong") %>'></asp:Label>
55                         </ItemTemplate>
56                     </asp:TemplateField>
57                     <asp:TemplateField HeaderText=
"Đơn giá" HeaderStyle-ForeColor="Black">
58                         <ItemTemplate>
59                             <asp:Label ID=
"Label21" runat="server" Text='<%# Eval("Gia") %>'
60                                 Font-Bold=
"True" Font-Size="11pt" ForeColor="black"></asp:Label>
61                             <br />
62                             VNĐ
63                         </ItemTemplate>
64                     </asp:TemplateField>
65                     <asp:TemplateField HeaderText=
"Tổng giá" HeaderStyle-ForeColor="Black">
66                         <ItemTemplate>
67                             <asp:Label ID=
"Label22" runat="server" Text='<%# Eval("TongGia") %>'
68                                 Font-Bold=
"True" Font-Size="11pt" ForeColor="black"></asp:Label>
69                             <br />
70                             VNĐ
71                         </ItemTemplate>
72                     </asp:TemplateField>
73                 </Columns>
74                 <HeaderStyle BackColor=
"#ECE9D8" BorderColor="Yellow" BorderStyle="Solid"
75                     BorderWidth=
"2px" Font-Bold="True" Font-Size="13pt" ForeColor="#CC3300"
76                     Height=
"30px" />
77             </asp:GridView>
78         </asp:Panel>
79     </div>
80     <div>
81         <asp:Label ID=
"lbtien" runat="server" Text="Label" Font-Bold="True"
82             Font-Size=
"14pt" ForeColor="black"></asp:Label>
83     </div>
84     <div style=
"height: 34px; margin-bottom: 0px;" align="left">
85         &nbsp;&nbsp;&nbsp;
86         <br />
87     </div>
88     <div style=
"height: 29px; color: black; font-weight: bold; font-size: 15pt;">&nbsp;&nbsp; Thông báo:<asp:Label ID="lbthongbao" runat="server" Font-Bold="True" Font-Size="12pt"
89             ForeColor=
"blue"></asp:Label>
90         <br />
91     </div>
92     <div align=
"center"
93     style=
"height: 55px; color: black; font-size: 15pt; font-weight: bold;">
94         <br />
95         <asp:Label ID=
"Label23" runat="server"
96             Text=
"Cảm ơn quý khách đã chọn mua hàng tại Website."></asp:Label>
97         <br />
98         &nbsp;<table cellpadding=
"0" cellspacing="0">
99             <tr>
100                 <td>
101                     <asp:Button ID=
"btndatlaihang" runat="server" Text="Đặt lại Hàng" onclick="btndatlaihang_Click" Font-Bold="true" />
102                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
103                 </td>
104                 <td>
105                     <asp:Button ID=
"btndathang" runat="server" Text="Đặt Hàng" onclick="btndathang_Click" Font-Bold="true" />
106                 </td>
107             </tr>
108         </table>
109     </div>
110 </asp:Content>



Quản lý website giới thiệu và bán điện thoại di động ASP.net 19.335 lượt xem

Gõ tìm kiếm nhanh...